package org.jeecg.modules.pbmp.transferRecord.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 资产调拨信息
 * @Author: jeecg-boot
 * @Date:   2021-01-28
 * @Version: V1.0
 */
@Data
@TableName("pbmp_transfer_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="pbmp_transfer_record对象", description="资产调拨信息")
public class QueryTransferRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**资产编号*/
    @Excel(name = "资产名称", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String assetsId;
	/**资产编号*/
	@Excel(name = "资产名称", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String assetsName;
    /**资产编号*/
    @Excel(name = "资产类型", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String assetsType;
    /**资产编号*/
    @Excel(name = "序列号", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String serialNumber;
    /**资产编号*/
    @Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String number;
    /**资产编号*/
    @Excel(name = "生产厂家", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String manufacturer;
    /**资产编号*/
    @Excel(name = "管理员", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String departName;
    /**资产编号*/
    @Excel(name = "管理员", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String admin;
	/**转入部门编号*/
	@Excel(name = "转入部门编号", width = 15)
    @ApiModelProperty(value = "转入部门编号")
    private String projectName;
    /**转入部门编号*/
    @Excel(name = "转入部门编号", width = 15)
    @ApiModelProperty(value = "转入部门编号")
    private String projectId;
	/**转入领用人*/
	@Excel(name = "转入领用人", width = 15)
    @ApiModelProperty(value = "转入领用人")
    private String collectName;
	/**借用时间*/
	@Excel(name = "借用时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "借用时间")
    private Date borrowTime;
	/**归还时间*/
	@Excel(name = "归还时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "归还时间")
    private Date returnTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;
}
